
/*
 *
 *  * | Licensed 未经许可不能去掉「Enjoy-iot」相关版权
 *  * +----------------------------------------------------------------------
 *  * | Author: xw2sy@163.com | Tel: 19918996474
 *  * +----------------------------------------------------------------------
 *
 *  Copyright [2025] [Enjoy-iot] | Tel: 19918996474
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 * /
 */
package com.enjoyiot.module.bms.controller.admin.device.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.enjoyiot.framework.excel.core.annotations.DictFormat;
import com.enjoyiot.framework.excel.core.convert.DictConvert;
import com.enjoyiot.module.bms.controller.admin.asset.vo.AssetRespVO;
import com.enjoyiot.module.system.enums.DictTypeConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 租户 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BmsDeviceRespVO {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "资产ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long assetId;

    @Schema(description = "安装时间")
    private LocalDateTime installDate;

    @Schema(description = "设备状态(0-运行中；1-故障；2-禁用)", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer deviceStatus;

    @Schema(description = "验收状态(0-未验收；1-已验收)")
    private Integer acceptanceStatus;

    @Schema(description = "验收时间")
    private LocalDateTime acceptanceDate;

    @Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String assetName;

    @Schema(description = "标签码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String assetSn;

    @Schema(description = "资产位置")
    private String location;
    @Schema(description = "资产型号")
    private String assetModel;

    @Schema(description = "资产品牌")
    private String assetBrand;

}
